<?php
	//give product info
	$this->pageTitle = $product['Product']['product_name'];
	$open = Configure::read('Delivery.is_open');
	if ($open) {
?>
<p class="note">To order this item, you must <?=$html->link('Log in', '/orderables/order/'.$product['Orderable']['id']);?>.</p>
<?php
	} else {
?>		
<p class="note">Prices are subject to change before the ordering period is open.</p>
<?php
	}
?>
<fieldset>
<legend>Item Info</legend>
<h3><?=$product['Product']['product_name']?></h3>
<h4>Category: <?=$product['Subcategory']['subcategory_name']?></h4>
<?=$image->getImage($product,array('width'=>50));?>
<p><?=$html->link("About " . $product['Member']['business_name'] ,'/producers/about/' . $product['Product']['producer_id']);?></p>
<p class="description"><?=$product['Product']['detailed_notes']?></p>
<p><label for="Price">Price</label> $ <?=number_format($product['Product']['unit_price'],2), ' per ', $product['Product']['pricing_unit']?></p>
<div class="photos">
<?php
foreach($photos as $photo) {
	echo $lightbox->img($photo['thumb'], $photo['medium'], $photo['title']);
}
?>
</div>
</fieldset>